FROM java:8
VOLUME /tmp
ADD ./target/dean-system.jar /dean-system.jar
RUN bash -c 'touch /dean-system.jar'
EXPOSE 8010
ENTRYPOINT ["java","-jar","-Dspring.profiles.active=test","/dean-system.jar"]